namespace Cik.Gapi4Net.Service.Contracts
{
    using System;
    using Domain.Input;
    using Domain.Output.TranslateSearch.DetectLanguage;
    using Domain.Output.TranslateSearch.TranslateLanguage;

    public interface ITranslateService : ISearchService
    {
        DetectResult DetectLanguage(string version, string query);

        DetectResult DetectLanguage(Func<Translate> func);

        TranslateResult Translate(string version, string text, string languagePair);

        TranslateResult Translate(Func<Translate> func);
    }
}